const {
  CloudFunction
} = require('../Class/Cloud.js')

class get_wenchuan_info {
  // 这里放数据
  constructor() {

  }

  GetWenchuanInfo(){
    const wenchuanInfo = new CloudFunction('Get_Wenchuan');
    const result = wenchuanInfo.callAsync().then(res=>{
      const wenchuan = res.result.data
      return wenchuan
    }).catch(err=>{

    })
    return result
  }

}

// 这里暴露方法名
module.exports = {
  get_wenchuan_info
}